

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>mindspore.ops.DataType &mdash; MindSpore master documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/underscore.js"></script>
        <script src="../../_static/doctools.js"></script>
        <script src="../../_static/language_data.js"></script>
        <script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="mindspore.ops.op_info_register" href="mindspore.ops.op_info_register.html" />
    <link rel="prev" title="mindspore.ops.CustomRegOp" href="mindspore.ops.CustomRegOp.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../../index.html" class="icon icon-home"> MindSpore
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">MindSpore Python API</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../mindspore.html">mindspore</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.common.initializer.html">mindspore.common.initializer</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.communication.html">mindspore.communication</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.compression.html">mindspore.compression</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.context.html">mindspore.context</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.html">mindspore.dataset</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.audio.html">mindspore.dataset.audio</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.config.html">mindspore.dataset.config</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.text.html">mindspore.dataset.text</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.transforms.html">mindspore.dataset.transforms</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.dataset.vision.html">mindspore.dataset.vision</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.mindrecord.html">mindspore.mindrecord</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.nn.html">mindspore.nn</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.nn.probability.html">mindspore.nn.probability</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.nn.transformer.html">mindspore.nn.transformer</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.numpy.html">mindspore.numpy</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../mindspore.ops.html">mindspore.ops</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../mindspore.ops.html#operations">operations</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mindspore.ops.html#functional">functional</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mindspore.ops.html#id11">原语</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mindspore.ops.html#id12">函数实现注册</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../mindspore.ops.html#id13">算子信息注册</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="mindspore.ops.AiCPURegOp.html">mindspore.ops.AiCPURegOp</a></li>
<li class="toctree-l3"><a class="reference internal" href="mindspore.ops.custom_info_register.html">mindspore.ops.custom_info_register</a></li>
<li class="toctree-l3"><a class="reference internal" href="mindspore.ops.CustomRegOp.html">mindspore.ops.CustomRegOp</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">mindspore.ops.DataType</a></li>
<li class="toctree-l3"><a class="reference internal" href="mindspore.ops.op_info_register.html">mindspore.ops.op_info_register</a></li>
<li class="toctree-l3"><a class="reference internal" href="mindspore.ops.TBERegOp.html">mindspore.ops.TBERegOp</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.parallel.html">mindspore.parallel</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.parallel.nn.html">mindspore.parallel.nn</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.profiler.html">mindspore.profiler</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.scipy.html">mindspore.scipy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.train.html">mindspore.train</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mindspore.boost.html">mindspore.boost</a></li>
</ul>
<p class="caption"><span class="caption-text">MindSpore C++ API</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html">MindSpore Lite↗</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../index.html">MindSpore</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../../index.html" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="../mindspore.ops.html">mindspore.ops</a> &raquo;</li>
        
      <li>mindspore.ops.DataType</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../../_sources/api_python/ops/mindspore.ops.DataType.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="mindspore-ops-datatype">
<h1>mindspore.ops.DataType<a class="headerlink" href="#mindspore-ops-datatype" title="Permalink to this headline">¶</a></h1>
<dl class="class">
<dt id="mindspore.ops.DataType">
<em class="property">class </em><code class="sig-prename descclassname">mindspore.ops.</code><code class="sig-name descname">DataType</code><a class="headerlink" href="#mindspore.ops.DataType" title="Permalink to this definition">¶</a></dt>
<dd><p>Ascend算子的dtype和format的多种组合。</p>
<p>当前支持：</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">None_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">None_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">BOOL_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">BOOL_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">BOOL_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">BOOL_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">BOOL_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">BOOL_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">BOOL_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">BOOL_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">BOOL_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">BOOL_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">BOOL_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;bool&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">I8_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">I8_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">I8_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">I8_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">I8_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">I8_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">I8_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">I8_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">I8_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">I8_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">I8_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int8&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">U8_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">U8_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">U8_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">U8_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">U8_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">U8_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">U8_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">U8_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">U8_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">U8_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">U8_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint8&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">I16_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">I16_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">I16_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">I16_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">I16_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">I16_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">I16_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">I16_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">I16_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">I16_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">I16_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int16&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">U16_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">U16_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">U16_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">U16_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">U16_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">U16_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">U16_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">U16_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">U16_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">U16_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">U16_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint16&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">I32_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">I32_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">I32_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">I32_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">I32_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">I32_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">I32_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">I32_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">I32_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">I32_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">I32_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int32&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">U32_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">U32_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">U32_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">U32_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">U32_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">U32_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">U32_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">U32_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">U32_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">U32_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">U32_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint32&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">I64_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">I64_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">I64_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">I64_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">I64_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">I64_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">I64_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">I64_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">I64_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">I64_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">I64_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;int64&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">U64_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">U64_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">U64_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">U64_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">U64_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">U64_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">U64_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">U64_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">U64_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">U64_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">U64_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;uint64&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">F16_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">F16_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">F16_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">F16_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">F16_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">F16_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">F16_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">F16_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">F16_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">F16_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">F16_NCDHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NCDHW&quot;</span><span class="p">)</span>
<span class="n">F16_DHWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;DHWCN&quot;</span><span class="p">)</span>
<span class="n">F16_NDC1HWC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;NDC1HWC0&quot;</span><span class="p">)</span>
<span class="n">F16_FRACTAL_Z_3D</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_Z_3D&quot;</span><span class="p">)</span>
<span class="n">F16_FracZNLSTM</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_ZN_LSTM&quot;</span><span class="p">)</span>
<span class="n">F16_FracZNRNN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_ZN_RNN&quot;</span><span class="p">)</span>
<span class="n">F16_ND_RNNBIAS</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;ND_RNN_BIAS&quot;</span><span class="p">)</span>
<span class="n">F16_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float16&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">F32_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">F32_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">F32_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">F32_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">F32_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">F32_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">F32_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">F32_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">F32_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">F32_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">F32_NCDHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NCDHW&quot;</span><span class="p">)</span>
<span class="n">F32_DHWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;DHWCN&quot;</span><span class="p">)</span>
<span class="n">F32_NDC1HWC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;NDC1HWC0&quot;</span><span class="p">)</span>
<span class="n">F32_FRACTAL_Z_3D</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_Z_3D&quot;</span><span class="p">)</span>
<span class="n">F32_FracZNLSTM</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_ZN_LSTM&quot;</span><span class="p">)</span>
<span class="n">F32_FracZNRNN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_ZN_RNN&quot;</span><span class="p">)</span>
<span class="n">F32_ND_RNNBIAS</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;ND_RNN_BIAS&quot;</span><span class="p">)</span>
<span class="n">F32_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float32&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">F64_None</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;&quot;</span><span class="p">)</span>
<span class="n">F64_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">F64_5HD</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;NC1HWC0&quot;</span><span class="p">)</span>
<span class="n">F64_FracZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;FracZ&quot;</span><span class="p">)</span>
<span class="n">F64_FracNZ</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;FRACTAL_NZ&quot;</span><span class="p">)</span>
<span class="n">F64_C1HWNCoC0</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;C1HWNCoC0&quot;</span><span class="p">)</span>
<span class="n">F64_NCHW</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;NCHW&quot;</span><span class="p">)</span>
<span class="n">F64_NHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;NHWC&quot;</span><span class="p">)</span>
<span class="n">F64_HWCN</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;HWCN&quot;</span><span class="p">)</span>
<span class="n">F64_NDHWC</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;NDHWC&quot;</span><span class="p">)</span>
<span class="n">F64_ChannelLast</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;float64&quot;</span><span class="p">,</span> <span class="s2">&quot;ChannelLast&quot;</span><span class="p">)</span>

<span class="n">C64_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;complex64&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
<span class="n">C128_Default</span> <span class="o">=</span> <span class="p">(</span><span class="s2">&quot;complex128&quot;</span><span class="p">,</span> <span class="s2">&quot;DefaultFormat&quot;</span><span class="p">)</span>
</pre></div>
</div>
</dd></dl>

</div>


           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="mindspore.ops.op_info_register.html" class="btn btn-neutral float-right" title="mindspore.ops.op_info_register" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="mindspore.ops.CustomRegOp.html" class="btn btn-neutral float-left" title="mindspore.ops.CustomRegOp" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2021, MindSpore.

    </p>
  </div>
    
    
    
    Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    
    provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>